package com.dogkr.server.mapper;

import java.util.List;
import java.util.Map;

import com.dogkr.server.entity.Host;

public interface HostMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Host record);

    int insertSelective(Host record);

    Host selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Host record);

    int updateByPrimaryKeyWithBLOBs(Host record);

    int updateByPrimaryKey(Host record);
    
    Host selectByUserKey(Long userId);

	List<Host> selectWithSearch(Map<String, Object> paramMap);

	Host selectByIdWithAll(Long id);

	List<Host> selectByFavorites(Long userId);
	
	Host selectByIdWithShow(Long id);
}